//
//  FirstViewCell.m
//  项目
//
//  Created by 焦钟培 on 15-1-4.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "FirstViewCell.h"

@implementation FirstViewCell
- (void)dealloc
{
    [_down release];
    [_up release];
    [_right release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.frame = [[UIScreen mainScreen] bounds];
        self.up = [[UILabel alloc] initWithFrame:CGRectMake(5, 5, self.frame.size.width/4 * 3 - 10, 44)];
        _up.numberOfLines = 0;
        _up.font = [UIFont systemFontOfSize:18];
        [self.contentView addSubview:_up];
        [_up release];
        self.down = [[UILabel alloc] initWithFrame:CGRectMake(5, 50, self.frame.size.width/4 * 3 - 10, 20)];
        _down.font = [UIFont systemFontOfSize:13];
        _down.textColor = [UIColor grayColor];
        [self.contentView addSubview:_down];
        [_down release];
        
        self.right = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width / 4 * 3 , 5, self.frame.size.width / 4 - 5, 65)];
        [self.contentView addSubview:_right];
        [_right release];
        
        
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
